/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2021-2021.
 * Description: add support msi spec
 * Author: yingelin
 * Create: 2021-09-14
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 */

#ifndef SUPPORT_MSI_SPEC_H
#define SUPPORT_MSI_SPEC_H

#ifdef CONFIG_RTOS_SUPPORT_MSI_SPEC
int register_arch_setup_msi_irq(void *handler);
int unregister_arch_setup_msi_irq(void);
int register_arch_teardown_msi_irq(void *handler);
int unregister_arch_teardown_msi_irq(void);
void dynamic_irq_cleanup(unsigned int irq);
#endif /* CONFIG_RTOS_SUPPORT_MSI_SPEC */

#endif /* SUPPORT_MSI_SPEC_H */
